home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 5740 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  3.3 KB

  1. Path: news.texas.net!usenet
  2. From: "Stephan K. Zitz" <zitz@texas.net>
  3. Newsgroups: comp.lang.basic.visual.misc,comp.lang.pascal.delphi.misc,comp.lang.c++
  4. Subject: Re: Java? Was: "SHOULD I DUMP VISUAL BASIC?"
  5. Date: Tue, 06 Feb 1996 10:52:05 -0600
  6. Organization: Texas Networking, Inc.
  7. Message-ID: <31178735.4D9A@texas.net>
  8. References: <4e9g08$3dp@maureen.teleport.com> <Pine.SUN.3.90.960126125658.2477C-100000@menger.eecs.stevens-tech.edu> <sundial.2191.00464727@primenet.com> <DLvxyq.62w@news.hawaii.edu> <4et3p7$79o@cloud9.net> <823335327.28831@williaj.demon.co.uk> <mac.318.3115D621@zeus.hsrc.ac.za> <267cc$182b.33f@PolarNet>
  9. NNTP-Posting-Host: infinity.texas.net
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0GoldB1 (Win95; I)
  14.  
  15. Ken Irving wrote:
  16. > In article <mac.318.3115D621@zeus.hsrc.ac.za>, mac@zeus.hsrc.ac.za says...
  17. > >
  18. > >Since I can never get into Sun's Java site, perhaps someone could clarify what
  19. > >Java is.. I have heard the following:
  20. > >
  21. > >- Java is an interpreter for the JavaScript scripting language.
  22. > >
  23. > Sounds likely, but don't know.
  24.  
  25. No.  JavaScript was originally Netscape's LiveScript.  Later, Netscape and Sun entered into some 
  26. agreement (not sure of what form it was) to codevelop(?) JavaScript.  Although similar, they do 
  27. differ in a number of ways.  Check comp.lang.java and comp.lang.javascript.  
  28.  
  29. > >- Java produces p-code (or someting similar) for Internet Java browser to
  30. > >interpret.
  31. > >
  32. > Pretty much.
  33.  
  34. Java produces platform independent bytecode.  It is then up to the end-"interpreter" to "finish"
  35. the compile for the endmachine.
  36.  
  37. > >- Java is a full compiler that produces .EXE files using a language that is
  38. > >C++-like in syntax but with less indeterminacies and a single-inheritance
  39. > >object hierarchy.
  40. > Partly right.
  41. > >
  42. > >- Java is all of these
  43. > >
  44. > >All revelations gratefully received ....
  45. > >
  46. > I've read a bit on Java, haven't used it (yet).  My understanding is that Java,
  47. > the language, is an object-oriented language much like C++ except lacking all
  48. > the baggage, compromises, concessions, etc. of C++. Java compiles to bytecodes,
  49. > p-code, that is interpreted (or otherwise used) by a *browser*.  But it could
  50. > also be interpreted by a compiler on any system, yielding a native executable.
  51.  
  52. Correct, which makes debugging it wonderful :)
  53.  
  54. > The main thing is that this thing is seriously portable! The user's machine is
  55. > irrelevant, your program will run on anything that can run a suitable browser.
  56. > Highly OO-able too.
  57.  
  58. I wonder how long it'll take before apps start talking to each other using some
  59. derivative of Java across a heterogeneous network.  Would be interesting to see programs
  60. become somewhat dynamic, uncaring of the end-machine.  Hrrrmmmmmmmmm
  61.  
  62.  
  63. -- 
  64.  /----------------------------------------------------------------------\
  65. <> Stephan K. Zitz                  <>  My mind is my best friend...    <>
  66. <> mailto:zitz@texas.net            <>  And my worst enemy.             <>
  67. <> http://www.texas.net/~zitz       <>                                  <>
  68. <>..................................<>..................................<>
  69. <>  "Intelligence is the ultimate aphrodisiac" -- Timothy Leary         <>
  70.  \----------------------------------------------------------------------/
  71.